from .models import OrderModel as Order
from django.db.models import F ##一个数据库中的两个字段比较需要用到

def updateOrderInfo():
    orders = Order.objects.all()
    for order in orders:
        order.update_data_per_days()

def test():
	print ("=================test crontab")
